package com.ciei.dpagm.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

@TableName("common_versions_record")
public class VersionsRecord implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer versionsId;
    private String versionsNumber;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    private String updateContent;
    @TableLogic
    private Integer isDelete;
    private Integer versionType;
    private String path;

    public VersionsRecord() {
    }

    public VersionsRecord(Integer versionsId, String versionsNumber, Date createTime, String updateContent, Integer isDelete, Integer versionType, String path) {
        this.versionsId = versionsId;
        this.versionsNumber = versionsNumber;
        this.createTime = createTime;
        this.updateContent = updateContent;
        this.isDelete = isDelete;
        this.versionType = versionType;
        this.path = path;
    }

    public Integer getVersionsId() {
        return versionsId;
    }

    public void setVersionsId(Integer versionsId) {
        this.versionsId = versionsId;
    }

    public String getVersionsNumber() {
        return versionsNumber;
    }

    public void setVersionsNumber(String versionsNumber) {
        this.versionsNumber = versionsNumber;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateContent() {
        return updateContent;
    }

    public void setUpdateContent(String updateContent) {
        this.updateContent = updateContent;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getVersionType() {
        return versionType;
    }

    public void setVersionType(Integer versionType) {
        this.versionType = versionType;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
}
